﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Estore.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Estore.ViewModels.ProductModel>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<link rel="stylesheet" href="../../Content/Details.css" type="text/css"/>
<div id="product_detailcon" style="">
<% foreach (var product in Model)
   { 
       %>
<div class="art_list_title product_title"><%= product.Product_name %>
</div>
    
    	<div id="content" style="">
		<div style="float:left;min-width:300px">
            <img style="border: 2px solid rgb(221, 221, 221);max-width:400px;min-width:250px; min-height:150px; max-height:300px; height: auto; padding: 0px; opacity: 1;" title="envelope type sleeping bags " name="picautozoom" src="../../Content/image/<%=product.Image %>">
        </div>
        <div class="clearfix" style="float:left;">
			    <div class="prodview_prices" style="margin-left:12px; float:left">
			    Price : <%= product.price %> <br />
			    Quantity :
			    <input id="prod_num_537" style="color:Black" type="text" size="4" value="1" name="prod_num_537">
			    <br>
	  		    <input class="add_to_cart_b_view" type="button" onclick="add2cart('537');return false;" value="Add To Cart">
			    </div>
         </div>
    
    		<div class="prodview_content">
		<p><%= product.Description %></p>
			<div>
			<img border="0" width="600" height="321" src="upload/image/111(57).jpg" alt="" style="cursor: pointer;" onclick="window.open('upload/image/111(57).jpg')">
			</div>
    		</div>
	</div>
<%} %>
</div>
</asp:Content>
